<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表达式</title>
    <script>
        var age = 28;
        var isHaveFriend = false;
        var isHaveHouse = true;
        var isHaveCar = true;
        var money = 420;
        var schoolName = "北大";
        
        
        var isOk=((age>=28&&!isHaveFriend)&&((isHaveHouse&&isHaveCar&&money>=1000000)||(schoolName=="北大"||schoolName=="清华")));
        alert(isOk)
    </script>
</head>
<body>
    
</body>
</html>